/**
 * @author Dave
 */
cmx.panel.LoginFormPanel = Ext.extend(Ext.FormPanel, {
	initComponent : function(){
		cmx.panel.LoginFormPanel.superclass.initComponent.call(this);
		
		this.usernameField = new Ext.form.TextField({
			fieldLabel: 'Username',
            name: 'username',
        	allowBlank:false,
			blankText: 'Username is required'
		});
		this.add(this.usernameField);
		
		this.passwordField = new Ext.form.TextField({
			inputType: 'password',
			fieldLabel: 'Password',
            name: 'password',
        	allowBlank:false,
			blankText: 'Blank passwords are not permitted'
		});	
		this.add(this.passwordField);
	}
});
